package com.syq.service;


import com.syq.dto.DTO;
import com.syq.entity.News;
import com.syq.page.PageInfo;

public interface NewsService {
    /**
     * 查询全部家长
     * @return
     */
    public DTO<News> getAllNewss() throws Exception;
    /**
     * 删除家长
     * @return
     */
    public DTO<News> deleteNewsByNno(String nno) throws Exception;
    /**
     * 修改家长
     * @return
     */
    public DTO<News> updateNewsByNno(News news) throws Exception;
    /**
     * 增加家长
     * @return
     */
    public DTO<News> addNews(News news) throws Exception;
    /**
     * 分页查询家长
     * @return
     */
    public DTO<News> getNewsByPage(PageInfo pageInfo) throws Exception;
    /**
     * 查询家长附上儿童
     * @return
     */
//    public DTO<News> selectNewsWithChildren(String cno) throws Exception;
//
//    public DTO<News> getNewsWithOrdrees(String cno) throws Exception;
//
//    public DTO<News> sendCodeMail(String cname) throws Exception;
//
//    public DTO<News> updateNewsByPwd(NewsVo newsVo) throws Exception;
//
//    public DTO<News> activate(String  cno)  throws Exception;


}
